#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "phasewidget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_phaseSlider_valueChanged(int value);
    void on_phaseSpinBox_valueChanged(double arg1);
    void on_setPhaseButton_clicked();
    void on_editableCheckBox_toggled(bool checked);
    void on_animatedCheckBox_toggled(bool checked);
    void on_showLabelsCheckBox_toggled(bool checked);
    void on_showValueCheckBox_toggled(bool checked);
    void on_phaseWidget_phaseChanged(double phase);
    void on_doubleSpinBox_phaseChanged(double d);

    void on_overrangecheckBox_toggled(bool checked);
    void on_gridcheckBox_toggled(bool checked);
private:
    Ui::MainWindow *ui;
    PhaseWidget *m_phaseWidget;
};
#endif // MAINWINDOW_H
